Trace Of Adjacency Matrix For Directed