This MySQL function adds DISTANCE() to calculate the distance between two GPS locations using the Haversine formula