Segmentation functions

Updated library with segmentations functions. Testing segmentors example file