Distance between two coordinates in kilometersPHP adaptation of the haversine formula for measuring distance between locations