Source: https://homepages.laas.fr/huguet/drupal/sites/homepages.laas.fr.huguet/files/u78/TP_Clustering.pdf