Added ability to control maximum motor power output