reinstated odeint for spectrum