Text this: Cluster analysis for granular mechanics simulations using Machine Learning Algorithms