Nonlinear Dynamics and Spatial Complexity in Optical Systems