Corrected save-to filename
Added if-else test for deta_da subroutine, but still not working with ODEINT