Integration with switches handled separately fro Euler and Implicit.