Changed main.tex and corrected an error