finished ray-triangle intersection