movementSpeeds function

Calculate time and speed