Scripts used to generate data for Keerthis 2013 paper