Revision of Amal's master thesis

Review by Gregorio Robles. Mainly minor stuff here and there. There are two figures missing in the repo.