changes replacements to minimum value of matrix or average value of onset and min (for fuzzing)
adds param to run new dataset