Implement AHP algorithm with coherence of matrixes check