Converting Miles to use double and renaming some of the value types