MotorControl: changed some variables to float