Masters thesis r9 (submitted to committee).

Done.