Fix for ridge regression with sparse matrix input

Fix for ridge regression with sparse matrix input

- Re-enable selecting SVD for sparse input (even though it is converted to
dense, one day sparse solving may be supported, and there are current
valid use cases where sparse input is typical and doesn't blow up the
SVD, but does blow up the eigen solver)

(Fixes #2354)