gradientDescent solution for one variable has been vectorized.