You should use the haversine formula to compute distances