Add event finding for multiple functions (stop if any of the events are found). Use same approach from [DDEABM](https://github.com/jacobwilliams/ddeabm).