get_mc_cores function

Number of cores to be used in parallel computations