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```



Return value should be an array of doubles, not 3 separate pointers. Like we did for other functions.