Use the given number of cores in plmDCA, instead of the hardcoded 4.

Also add a limit to the number of cores used in plmdca launcher to not make Matlab freak out.