Bayesian Nonparametric Methods for Epidemiology and Clustering