An Improved Genetic Algorithm Using a Directional Search