Can anybody help me with how to calculate the band gap of a cobalt-based MOF (ZIF-9) considering spin in VASP? I have added the ISPIN=2 and MAGMOM tags in my calculations, but I am still getting an incorrect band gap result. Additionally, I want to calculate the density of states (DOS) of ZIF-9 while accounting for spin. Any suggestions on what might be going wrong or how to improve my setup?