Symmetrifies the matrix Q