Fsolve Solver Stopped Prematurely