Add documentation comments for GeneticAlgorithm.