matlab code for generating the paper figures

matlab functions are named FigX corresponding to the Xth figure (figures 1 and 2 are illustrative and were not included). Some additional plotting functions are included and are needed for figure generation.