(2) in #6; use only two rows, not the whole matrix.