Added a revolute joint type.
Cleaned up.