Haversine function

coordinatesDistance calculates distance in kilometers between two
coordinates