Total Energy and Electronic States of CdSe Nanoparticles