Crystal implementation of the Haversine formula to calculate distances between two points given their latitudes and longitudes