updated reproducedFig8a.m as of April 22