numeric sceme for diffusion profile mapping