added linear regression, linear ridge fit, and linear polynomial fits