Added initial genetic algorithm support.