In parameter_sweep.py make args.ncores an int