Masters thesis 23.10.2013. First round of revision