Fixed some bugs for releveling

The cvglmnet for releveling should use ridge!