Drawing Robot - Controlling motor movement and calculating torque limits