NT Gradient Descent

Adapted from https://www.ceremade.dauphine.fr/~peyre/numerical-tour/tours/optim_1_gradient_descent/