Wrote functions for doing the sensitivity analysis with the general method. Haven't really tested them yet, since I need to make the IR model grid!