Automatic fusion machine for XRF analysis