added error checking in the solution procedures

The solution procedures now catch the extension exceptions for exceeding
iteration limits and return the guess as the solution.