Adding laplacian code, fixing degree initialization bug.
m