Modified run_trials, param_file to accomodate valid_hits
Modified run_trials, param_file to accomodate valid_hits