Haha, I just spent my morning writing matlab code, I've still got a bit to go so I feel your pain... What exactly do you mean by funky y and t values, do you have the equations for which you are trying solve? Also be sure to include the following code at the top of you code...
This will clear any previous calculations done so they don't interfere with your code as it runs.
Custom Parts Machining... Feel Free to Contact
"All that is necessary for evil to succeed is for good men to do nothing"
God Bless America