VArious fixes.
Merge branch 'master' of https://github.com/WDerricotte/OCDFT_PCCP