fixed typos in Qmatrix