Clustering as physically inspired energy minimization. (February 2019)