Update grad_descent.m