Fixed bug in trip meter distance calculation