Update Intersector.java

Fixed the method for determining the direction of the overlap.