Python Distance Traveled While Accelerating