intersect.{c,h}

The shortest and probably the simplest submission to liboptv of a single function ```intersect.{c,h}``` and the appropriate test ```check_interesect.c```



I do not know where to find the correct header. we discussed some way of stripping all the old headers and create a standard one with the licence, etc. cannot find it. 

i'll add the comments to each function