Fix for failing example: added heuristic to up the multiplication factor if we don't bracket the root quickly.