Implicit solve for the electron density, assuming a Boltzmann distribution