For posterity: https://github.com/LaurenzV/master-thesis