the integration scheme might be the problem -- try implicit or trapezoidal