Electronic structure calculations for ZnFe2O4