Corrected calcWorkers

— now works out best number of workers before increasing threads per
worker