Fix LCAO negative atomic densities.
Description
I do not like negative density, and I think Octopus too.
News snippet
Improve the numerical stability of atomic densities for the LCAO.
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.