Set restart point.
Added new exception when mpfit fails.
NaN out the mpfit fails.