Accessing Elemental Distributions in Thin Films for Solar Cells