Implemented more pythonic version of haversine eqn