Fixed distance_between math for sphere floating point error (acos() out of domain).