Text this: First principle investigation of Cr doping effect on the stability of NiFe2O4