Rewrote much of AnalyzeSensitivityAnalysis. Tried to make it clearer, but I'm not sure I succeeded...