created another matrix with duplicate entries for nodes