Calculate the great-circle distance between two points on a sphere given their longitudes and latitudes and the sphere's mean radius.

Units are in degrees and meters.