ELECTRON POPULATION ANALYSIS BY FULL-POTENTIAL X-RAY ABSORPTION SIMULATIONS