Coarse-grained Computational Analysis of Infectious Disease Dynamics: from Individual Interactions to Population-level Spreading