Xrf fit

Not sure if numpydoc cares, but it makes it more readable, so yes