I wrote this code to get the gradient descent of a vector function f:R^n to R.
Where: f is the function, X0 is the starting point and eta is the step size.
It