allow priors to depend on r in intnegbinR2
minor organization tweaks