NEW: param_sweep.py
BUGFIX: param_sweep and write_parameters_to_file, sweeping bias & weights for testing