I am trying to simulate and animate inverse dynamics. So I need to calculate torques. I started out by just taking a rod which rotates about its COM, applied a torque and then just used \tau=I\alpha to make sure I get back the same torque I applied. Next, I attached the rod to the ground with...