Fixed bug in data analysis

	modified:   segmentation.py