Ray plane intersection function

I brought this up in Issue #66 some time ago.