Bug fixes
Added sections to tutorial.