Update python binding.
Add torque minimization in cost function.