function torlnext = TorLnext(edge_ref)
global all_edges;
e = all_edges( edge_ref(1) );

torlnext = e.next{ mod4(edge_ref(2)+3) };

