Function to change a random allele of a chromosome.
New mutation mode: partial genome mutation.
Genetic algorithm configuration from main.