A finite difference method with periodic boundary conditions for simulations of diffusion-weighted magnetic resonance experiments in tissue.