finish event conditions, starting dynamics_discrete.m