Fix newman

Bug fix to prevent Newman Partition from creating empty partitions

If eigenvectors of the graph laplacian are all zero or positive, returns the original partition, fix bug that created empty partition
Raises exception if a weighted adjacency matrix is passed
Added tests for newman_partition