Initial commit of convex segmentation, works quite well