Pack the matrix to column major order, should test if this works in shader now.