private void loadChi2() throws FileNotFoundException {
		chi2 = new HashMap<Integer, Double>();

		Scanner s = new Scanner(new File(CHI2_FILE));

		s.nextLine();
		while (s.hasNext()) {
			String line = s.nextLine();
			Scanner row = new Scanner(line);
			String df = row.next();
			String p = row.next();

			try {
				int df_i = Integer.parseInt(df);
				double p_i = Double.parseDouble(p);
				chi2.put(df_i, p_i);
			} catch (InputMismatchException e) {
				try {
					
				} catch (InputMismatchException e2) {

				}

				System.out.println("error in parsing row...");
				System.out.println(line);
				System.out.println("Double: " + p);
				System.out.println("Int: " + df);
				System.out.println("Terminating!");
				System.exit(1);
			}
		}
		s.close();
	}