Fix correct values of core_hamiltonian