Stochastic representation of material heterogeneity and its effects on flow: applications in soils of mixed wettabilities