added Crank-Nicholson and Gear time integration methods