Gravar-mail: Comparing distance metrics for rotation using the k-nearest neighbors algorithm for entropy estimation