Tested Haversine formula for greater accuracy

Accuracy didn't seem to be greatly improved, so the first formula will probably
be used. Floating point accuracy on the pi needs to be tested.