Update SegmentSplitY.m

typo fix. Bug fix.