matrix: fix rotation / matrix multiplication