Working on robus hamiltonian learning