Main code repository for code relating to my PhD research.