Here lies the Matlab Scripts for the Thesis