[Exercise 6] Regularized Gradient