Velocity/Acceleration Order

Changed order of code