use nonlinear function handle for generating data too