Refactored vLimit into target velocity calculation