Fitting.py: Added FI curve function, also changes to fitPlot