Added Linear Regression and regression inheritance