Fix issue #51 (incorrect sequence assigned to some edges).  Adding some doc