High Definition X-Ray Fluorescence: Principles and Techniques