Updated gradient_descent.cpp