first linear regressor implemented by stochastic gradient descent