Calculate great-circle distance between 2 GPS coordinates
using haversine formula