A Gillespie-based Computational Model for Integrating Event-driven and Multi-Agent Based Simulation