UPCGDistanceSettings

Calculates the distance between two points (inherently a n*n operation)