Proposal of an extended t-J Hamiltonian for high-Tc cuprates from ab initio calculations on embedded clusters