Edited the test fit code so that the number of threads used can be determined by export OMP_NUM_THREADS rather than a variable in the code