Fitting non-linear Relationships