splitting matrixTools to 3x3 and 4x4