Xrf fit

empirical experience from previous author.