Correctly initializing adjacency matrix for switch up/down capabilities