Implement user configurable distance and speed units in the core