Fixed 50-80 valgrind issues
number of threads in the general paramter file