Added matlab files to reproduce figures 4c and 4d