Adding checks to ensure that the column rank is not trivially deficient in sparse LeastSquares/Ridge/Tikhonov