Effects of doping and structure on the electronic properties of Nd2CuO4