Simplify the loop in steepest_descent().