matrix: converted to column major order