setup lattice dmet code for debugging code is from 2012/12/21 energy is shifted by a constant wrt old code order parameter and homo/lumo gap are not correct