Added golden search and Rosenbrock function test to gradient() and hessian()