Spatial and functional modeling of carnivore and insectivore molariform teeth