Add getRotationMatrix to Transformation.

One thing that is was better with the previous approach is that it was clearer, that you are getting a copy of the value. But the compiler will tell you that you are writing to a temporary.