transmatrix is multiplied from the left