datagen function

Generate epidemics from distance-based and/or network-based continuous-time ILMs.