get_centroid function

Get the great-circle centroid for latitude/longitude data