I have all two by two matrices, so the dimensions were the same, but in general reversing the order of the matrices can even change the dimension of the outcome so matrix multiplication is not commutative. 