Gradient descent for linear regression with one variable.