A path integration algorithm for stochastic dynamical systems with multiple non-smooth events. (15th February 2023)