add option to use calibration directory (containing voltage steps) and throw out outliers in fit