Function which finds the data points that are closer to the archetypes during all iterations of the algorithm PCHA
Useful links