Energy dispersive X-Ray fluorescence: measuring elements in solid and liquid matrices