Add adjacency matrix representation