Changes for adding sensitivity analysis (incomplete).