Revert "Remove code to avoid least sq fit where last LARS lambda is small"

This reverts commit 8115c3c874fcfb1692941293ad69a8fcde33a80e.
Fix standardization of predictors
Fix some bugs in the covariance test