Replaced the DISTANCE function with the new DISTANCE_IN_METERS one.

Instead of keeping BC, we simply fix the broken function.