Fixed the meters/miles for the bike planning and moved the calculation to a utils function