bug fix for serial petsc solver and workaround to get Rosenbrock working in parallel (but inefficient)