Updated velocity calculations.