Simplify the matrix a bit