e2e_extract_start function

Extract the values of all the state variables at the end of a model run and format for use as new initial conditions.