Match signature of C haversine in gisutil