Adding intersection testing
Cleared up a comment