Updated Miraoui Adj Matrix

new collapse algorithm and changed hugoid to general nodeLabel