Update SegmentSplitY.m

Minor bug fix for functionality.