Xrf fit

PEP8: 2 spaces between top-level functions