From what I have observed in the periodic table is that many transition elements do not follow the Aufbau principle. And it's not just the elements like Cu and Cr that differ from predicted configurations because half-filled and completely filled d-orbitals are more stable, their are many odd exceptions like Nb ([Kr]4d45s1), Pd ([Kr]4d105s0). What reasons lead to such configurations?