test data generator added - set for function x^2 + x^3, + other changes