Haversine for getDistance

Fixes https://github.com/ifit/ifit/issues/1978.

using haversine equation for getDistance

When comparing distances between two lat/lngs geolib was returning
a different distance than google was. Google is using haversine
formula to get their distances. It is a much easier equation and
simpler to read.