A Model for Simultaneous Homogeneous and Heterogeneous Nucleation