Use @require and other decorators to simplify code imports/checking
Return matrix instead of array for laplacian functions
Whitespace cleanup and formatting
Refector conditional so there is only one return
Merge pull request #833 from hagberg/laplaican-matrix

Laplaican matrix functions should return matrix