Added 'calculateDistance' and 'getCTime' wrapper functions so they can be called from within the LUA-auton, will now commence refinement of the simulator