Xrf fit

Finish this documentation