Added subchapters, fixed some errors, added comments (LaTeX). Take care with merging if you actually worked on one of the LaTeX files!