Calculate distance between GPS coordinates