A Genetic Algorithm to Obtain Consistency in Analytic Hierarchy Process