updated SAT-test to include working hit detection

So it's inelegant but it works!

Added comments to explain why I'd done it the 'long' way.

Work on this file is done.