added reduce operation to parameter_sweep.py