Added the matlab code for plots