added a test using the real curve, but the fitting doesnt really work well. try changing the data set.