Added function to calculate spherical distance between two points.

Points are defined as (latitude, longitude). The formula used is
the Haversine distance formula. Distance is returned in km.