Changed SLIC superpixels so that connectivity is enforced optionally.
A separate, private function is created that implements the postprocessing step
Added max_size as a parameter
Changed tests to begin segment label at 1 instead of 0