all of the matlab code that I'm using to make my thesis