calculating Velocity...