Gravar-mail: An elaboration of theory about preventing outbreaks in homogeneous populations to include heterogeneity or preferential mixing