Removing transform code. map_pores/map_throats seems to replace these functions well.