Segmentation based on modified Gath-Geva algorithm ppcamod.m