Nested functions for initializing, calculating and collecting disease simulator results.
Useful links