I wanted to dope Yttrium with 3+ valence in place of Germanium with 3+ in GaN structure. I tried to change the element in atomic positions at different points and then do relax and vcrelax. I am getting wrong lattice parameters after analysis of cell parameters. Can anyone guide on how to maintain the symmetry of the crystal while doping which is what I suspect is happening in my case.