An Improved Adaptive Genetic Algorithm