Moved to class interface for contour tree.
Contour tree can now be rooted.