Updated run_dREG.R to fix a bug introduced when throwing together the package.