My master thesis written in latex for Simon Fraser University