Finished the non-linear fit test, added an estimate for the uncertainty calculation. I do not think it works yet, but it looks ok.