public static void main (String args[]) {

		String[] reprocessData;
		String[][] reprocessCapData;

		DataWriter ReprocessCapacity = new DataWriter();
		reprocessData = ReprocessCapacity.getReprocessingCapacity();

		String temp[] = reprocessData[0].split("\t");

		reprocessCapData = new String[reprocessData.length][temp.length];

		int i;
		int j;

		for (i = 0; i < reprocessData.length; i++) {
			String tokens[] = reprocessData[i].split("\t");
			for (j = 0; j < tokens.length; j++) {
				reprocessCapData[i][j] = tokens[j];
			}
		}

		int totalRuns = reprocessData.length; /* defines total number of runs for simulation */

		for (i = 0; i < totalRuns; i++){
			
			temp = reprocessCapData[i];

			try {
				DataWriter.main(temp);
				VEGAS mySim = new VEGAS();
				mySim.runTheSim();

				switch (verbose) {
				case 1: verbose = 0;
				case 2: verbose = 1;
				for(int k=0; k<END_YEAR-START_YEAR+1; k++) {
					System.out.println("Year: "+(START_YEAR+k)+" = "+mySim.SFReprocessed[3][k]+" ");
				}
				}

				runNumber += 1;
				
				System.out.printf("Finished simulation " + (i+1) + " of " + totalRuns + "\n");
				/* Uncomment the line below to display matlab plots */
				//Process p = Runtime.getRuntime().exec("cmd /c matlab -r makePlots");
			}
			catch (IOException e) {
				switch (verbose) {
				case 1: verbose = 0;
				case 2: verbose = 1;
				System.out.println(e.getMessage());
				}
			}

		}

	}