cleaning API functions; Warninggit diff  Hartree potential generation is modified: now Gamma factors are computed analytically