Xrf fit

Got it. I probably need to review PEP8 again, or PyCharm is a good option?