rosenbrock, optimization, added goal class and more