Add ApplyTo and reslove deadlock potential.

+ Add ApplyTo for using Transformations on transform matrices directly.
+ Add buffer matrices to resolve bug and deadlock potential of transforming a
  transformation with itself.