[Ifeffit] Calculation of the doping level