Cleaned up GeneralTransform and added a lot of missing documentation.