numCoresToUse function

Estimate Number of CPU Cores to Use for Parallel Processing