added test for generation_analysis()
bug fixes to make tests pass
test for reproduction_number()
bug fixes to pass tests