Add the Rosenbrock function to the 2D optimizer.