Create intervalIntersect.m