Velocity and Errors Calculation