Added variable numbers of threads. Checked that the correct models are being called, and it seems so.