Adjusted parameters, changed some names of variables to make more sense, fixed code for sensitivity analysis