Thread Modification

Code now varies the nuber of threads instead of the number of nodes.