Adding epidemic.m from cSplash 2013.