public void loadPalette() {
		// load Histograms
		for (int i = 0; i < 4; i++) {
			try (BufferedReader br = new BufferedReader(new FileReader(
					"src\\palette\\LCC" + (i + 2) + ".pheno"))) {
				String sCurrentLine;
				int j = 0;

				while ((sCurrentLine = br.readLine()) != null) {
					try {
						LCC[i][j] = Double.parseDouble(sCurrentLine);
					} catch (Exception e) {
						LCC[i][j] = 0.0;
					}
					j++;
				}

			} catch (IOException e) {
				e.printStackTrace();
			}
		}

		// load modes
		try (BufferedReader br = new BufferedReader(new FileReader(
				"src\\palette\\paletteRef.pheno"))) {
			String sCurrentLine;
			int j = 0;

			while ((sCurrentLine = br.readLine()) != null) {
				try {
					LCCMode[j] = Integer.parseInt(sCurrentLine);
				} catch (Exception e) {
					LCCMode[j] = 0;
				}
				j++;
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
	}