Trainable Weka Segmentation: add input error control.
Trainable Weka Segmentation: when creating training instances from a shape roi, use in-place method.
Trainable Weka Segmentation: clean code to try to identify bug that is causing huge delay when adding instances whose attributes are all 0.0.