Update of clustering, to try with a decent distance function ! (cf test.py)