document llsq and ridge