High Precision XRF Multifunctional Spectrometer