Implemented an alternative version to calculate GGA+noco according to
eq.(28) of Phys. Rev. B 69 024415 (2004). Setting l_rdm=.false. restores the old method, eq.(27). Both evaluated in real space. Leads to better convergence if magnetization changes sign very often.
Showing with 112 additions and 25 deletions