This is a link to my PhD thesis as PDF.