TransformState keeps track of matrices
Cleanup