fixed discretization and sampling openrave torques