Update PointSplit.m

Now allows for the case where X or Y = [];