Real Coded Genetic Algorithm in Python