slight change to linreg, cleanup mixed, add mixed correlated.