distanceToPoint function

Distance to a Reference Point