public double[][] fillJudgmentMatrix(double[][] judgmentMatrix,
			int artifactCount) {

		for (int i = 0; i < artifactCount; i++) {
			for (int j = 0; j < artifactCount; j++) {
				if (i == j) {
					judgmentMatrix[i][j] = 1.0;

				// fill missing value
				} else {
					if (judgmentMatrix[i][j] != 0) {
						for (int k = 0; k < artifactCount; k++) {
							if (judgmentMatrix[j][k] != 0) {
								if (judgmentMatrix[i][k] == 0) {
									judgmentMatrix[i][k] = judgmentMatrix[i][j]
											* judgmentMatrix[j][k];
									judgmentMatrix[k][i] = 1.0 / judgmentMatrix[i][k];
								}
							}
						}
					}
				}
			}
		}

		return judgmentMatrix;
	}