fixed error in ode solver
fixed errors in network's ode solver