Added inverting of revolute joints in Euler mode