maxDistance appears to use degrees rather than radians

For geographic coordinates, accurate results were not obtained unless the radian input was multiplied by 180/pi.