Fixed some issues with lin-lsq, min-norm and pseudo-invert in the QR, SVD, and RRQR algorithms.