Ray triangle intersection test