I am familiar with VESTA and it's functionality to rotate a cell from a POSCAR (from VASP). I am trying to rotate a cubic unit cell (CH3NH3PbI3) to face the 111 direction but when i use the following rotation matrix I get multiple atoms at the same location and other atoms at locations that are incorrect:
[-1 -0.5 1; 1 -0.5 1; 0 1 1]
I use the transform option under unit cell transformation, and then choose search atoms in the new unit cell and add them as new sites (I tried the first option as well) and i get 2 iodine at some sites and MA molecules where they shouldn't be. Any ideas??
Thanks in advance for your help.