Implemented optimizations on the haversine distance; timing now shows 1.82us / loop, down from 4.8us / loop.