Notice in particular lines 122 and 123 in the calculation of the full KS potential This is done to make it agree with the definition of spin density in density.hpp lines 46/47 and with the notes I sent to you
Closes #152 #157