added reference implementation for intersections
Merge remote-tracking branch 'origin/master'