A Method for Solving the Diffusion Equation with Random Coefficients