Clustering() corrected for weighted nets + faster using float32