plane and sphere intersect tests finally work