Function to cluster non-conformity scores using either Kolmogorov-Smirnov or K-means clustering
Useful links