Moved beginning of section 3 to beginning of section 2. Made other minor edits