modified the epidemic rand class for thread-safe op. also static rand seed added to generate a uniform simulation every time