implemented hamiltonian/EIF, but not working. look for bugs