updated thesis with draft 6 of paper