added gauge and fermi smearing