Fixed bugs in the acceleration/deceleration and slow down for turns