add ray polygon intersection test