Update fsolve.h

fix some bugs.