Add setTimeStep and getTimeStep functions into ConstraintDynamics class.