Bad testing fix

So this fix was testing the ray tracing whilst I was learning, I had
prepared a better way to do this but I needed to work out how the engine
was performing the test and what it was returning.  This does work, it's
just horrible code