Generates multiple samples

After closing results window all forms are cleared and a new sample is
generated.