added Munko's realization of different orders

started to think, changed to lsqcurvefit