Determine the number of CPU cores the scoring functions should use when computing the distance scores.
.getNumberCores(n_cores = NULL)
numeric, number of cores to use for the function.
Defaults to Null
in which case the function takes half of
the available cores.
Number of CPU cores to be used.