change matrix to column major
add tags ignore