Title: A computer programme to monitor the performance of an x-ray-fluorescence spectrometer