Finished DistanceOnMap based haversine formula