Update SegmentSplitX.m

Clean up and Bug Fixes