Solving ordinary differential equations with discontinuities - Gear, Charles W. (Dept. of Computer Science, University of Illinois at Urbana-Champaign, 1981)