First-principles investigation of MnFe 2 O 4