Classical and Evolutionary Algorithms in the Optimization of Optical Systems