static functions for computing eigvals and eigvects for laplacian and adjacency matrices completed, moving on to swig wrapper for use in python