Genetic algorithm learning in a New Keynesian macroeconomic setup