* JavaScript function to calculate the geodetic distance between two points specified by latitude/longitude using the Vincenty inverse formula for ellipsoids.
* This is more accurate than the haversine formula but also more complex and thus theoretically not as fast.
*
* Taken from http://movable-type.co.uk/scripts/latlong-vincenty.html
*
* @param {Number} latA: first point in decimal degrees
* @param {Number} lonA: first point in decimal degrees
* @param {Number} latB: second point in decimal degrees
* @param {Number} lonB: second point in decimal degrees
* @returns {Number} distance in kilometres between points