extended try/catch in NR to catch all errors related to linear system and return optsolver_error
extended try/catch in NR to catch all errors related to linear system and return optsolver_error

ttinoco/OPTALG,ttinoco/OPTALG