moved cr segmentation algorithm into seperate file
new file: segmentation_ms