Thanks John, I will try that!
My program is based the dynamic response of a system in the time domain. It was for an assignment last year, but I never quite got it to work so I thought I would try again. My prof told us ODE 45 would not work, he didn't say why though.