bugfix, missing q prefix in unshape-matrix
submatrix