The root-mean-square deviation (RMSD) is calculated, using Kabsch algorithm for rotation, between two XYZ files.