Distance between two coordinates

Clueless programmers tend to do this sort of thing, because all those useless extra digits certainly look good, and lend false confidence in the final product!

static const double DEG_TO_RAD = 0.017453292519943295769236907684886;