fixes to parameterSweep to be able to handle NaN