Added hammond distances and clustering