scripts to generate data and fit it to a all methods