started class of static methods to calculate appropriate data from adjacency matrix