O(1) complexity of calculating distance between clusters
Fixed centroid linkage algorithm + other fixes
Clean up code + some refactoring
Clean up
Merge pull request #1 from lagodiuk/simplify_intercluster_dist_calc

O(1) complexity of calculating distance between clusters (by using information from distances mattrix)