Xrf fit

PEP8 coding style dictates 2 spaces between top level classes and functions: [link] (http://legacy.python.org/dev/peps/pep-0008/#blank-lines)