Code used to generate figures and perform analysis for paper submission