removed parallel from ..ply_jg functions and deleted ddply_jg and switched to lapply when llply not recursive
nchains.jags_analysis now returns a single value
i <- NULL to avoid NOTE
updte now passes nworkers and uses foreach