In this paper, they have rotated the unit cell using a rotation matrix, so the axes are aligned with the atomic bonds. I would like to know how they calculated that rotation matrix, and which software to use to apply that rotation on a unit cell.