GSP gpsVincentyDistance function compilation version 1