GraphMatrix tested and working;