Added a parent class LevelSetTree with GeomTree and CDTree inheriting from this class.