Fixed RigidBody3D torque bug

The moment of inertia needs to be rotated to the global frame of
reference.