Regression stuff for n(\lamda).