Laser system Optimization by Genetic Algorithm