Working with model in adjacency matrix format