wf_sweep function

Simulate a sequence of parameters