merged dynaFieldPar into dynaField

dynaField now has a second input argument that determines the number of cores to use.
If the second input argument is not specified or only one core is used, then the non-parallel parts of the code will not run.