Updated perceptron to accept initial w. Also added linear Regression model