registerCores(n=3) is no longer used

 - It seems like you just do registerDoMC(n=3)