Implemented the intersects-function in the ray-object, and some tests to go with it.