adding multithread processing to model_optimizer to calculate fitness faster