Added checks to xyz_to_feff.py