silhouette_metric function

Method to calculate the silhouette.