Fixed Segmentation and added test segmentation images