[Ifeffit] XANES calculation