matrix_tests_4 now checks every single graph type and orientation, which pass with some minor bounds checking in sparse_matrices