added mex based poly intersect code, from  Fast InPolygon detection MEX by Guillaume JACQUENOT
from http://www.mathworks.com/matlabcentral/fileexchange/20754-fast-inpolygon-detection-mex
added mex based poly intersect option