Fixed compile.sh and updates thesis_main.pdf