Corrected the implicit computation of the electron density profile