Made the document compileable and changed section depth for the table of contents.