Updated thesis.