Setup an accurate version of Haversine closes #4596