Added the threads argument. Expects an int, and writes it in both .yaml and .slurm files, with -p core if it's less than 16