Change Matrix transform order to Prepend
and fix up Samples and Tests accordingly