Segmentation classes updated.

Minor updates to the segmentation classes: Testbutton now uses the 3d
segmentation, logging updated, segmentation method added.