backport (dpvc): Fixed problem with checking Matrices of dimension 1 x n. (Fixes bug 1122.)
Changed paths: