Fixes Class Specific Extremal Regions algorithm and classifiers