Revert "Revert "Added new matrix transformation""

This reverts commit 8ece34255c7d1293733c932a4925407397d8747a.