Add normal equation and calculated similar results as gradient descent.