Code I used to complete my MSc. Most of it will become easy to use modules in the future. Please contact me for usage, as I will not be providing documentation.