intersectCohorts function

Intersect all cohorts in a single cohort table