update_next_event now 1 line, also fixes the bug
update_next_event now 1 line, also fixes the bug

geraintpalmer/ASQ,geraintpalmer/QNetSim,Lieke19/ASQ,geraintpalmer/SimulatingAQingNetwork,geraintpalmer/Ciw,CiwPython/Ciw