Updated motor controls ( pwm added )