Mathematical modeling of capillary density.