Add missing semicolon.
Remove bad_cond_flag argument from solve1.

This flag was not grounded on any solid theoretical foundation.

This commit actually makes solve_algo=2 to be exactly the same than solve_algo=4.
Add trust-region nonlinear solver.

Closes #260