Computational study of copper ferrite (CuFe2O4)