Bug which meant only one of the sample sizes was being output to the CSV file, fixed.