Use a Dirichlet distribution sampling to simulate cluster level differences in subpopulation sizes.

Some magrittr related cleanup.