Added facilities for energy smearings
further xchecks on unfoldings
Complete implementation of unfolding