Master equation for site distributions describing barrier crossing in the presence of anisotropic diffusion