Code Related to my PhD Research