Separate switch.m file for euler and implicit integration