Added integration of forces.