Time-Dependent Modulation of Cosmic Rays in the Heliosphere