Trying to implement NSGA-II