Fixed 'great circle' distance function...