Fixed typos throughout the thesis