wrote 2 more sections of the final report; made minor code changes