Ray intersection -- my gift to James