added support for time-varying forces, and (not yet tested) time varying constraints