add graph matrix and test files