Replace broyden2 by broyden agein until the problem with continuous restart are understood and solved