Zaslat SMS: X-Ray Spectroscopy for Chemical State Analysis