FermiFuncWithSlope fix