MutationRateFactory function

Configure the mutation rate function of a genetic algorithm.