Adding system of ODEs case and avoid IF statement.