Added N-M simplex fitting algorithm.

Adapted to latest Imfit (unofficial) API changes.