Add Rosenbrock; fix bug in CheckZeros.
Add Rastrigin and refactor tests.