Changed the Transform class to be more fine-grained.

Now the Transform class does not depend on Rotation and PerpProd.
The TransformSystem is now the same as old Transform class.