sc-fermi Calculates self-consistent Fermi level given defect formation energies and the density of states.