Modeling and Investigation of the Influence of Capillary Heterogeneity on Relative Permeability