Xrf fit

The window size does not depend on the binning, just if it is being done.  These numbers should be exposed as input parameters.