private String printAsCSVWithStats()
	{
		String results = ",";

		ArrayList<String> row;

		for(int r = 0; r < this.ROWS; r++)
		{
			row = this.getRow(r);

			for(String s : row)
				results = results + s + ",";

					results = results + "\n,";
		}

		results = results.substring(0,results.length()-1);// trim last comma
		String sumRow = "SUM,";
		String avgRow = "AVG,";
		String minRow = "MIN,";
		String maxRow = "MAX,";
		String varRow = "VAR,";
		String stdevRow = "STDEV,";

		for(int c = 0; c < this.COLUMNS;c++)
		{
			sumRow = sumRow + this.sumColumn(c) + ",";
			avgRow = avgRow + this.avgColumn(c) + ",";
			minRow = minRow + this.minInColumn(c) + ",";
			maxRow = maxRow + this.maxInColumn(c) + ",";
			varRow = varRow + this.varInColumn(c) + ",";
			stdevRow = stdevRow + this.stdevInColumn(c) + ",";
		}

		sumRow = sumRow + "\n";
		avgRow = avgRow + "\n";
		minRow = minRow + "\n";
		maxRow = maxRow + "\n";
		varRow = varRow + "\n";
		stdevRow = stdevRow + "\n";
		
		results = results + sumRow;
		results = results + avgRow;
		results = results + minRow;
		results = results + maxRow;
		results = results + varRow;
		results = results + stdevRow;

		return results + this.getSpacerRow(this.COLUMNS+1);
	}