Propagation of partially incoherent light in nonlinear media via the Wigner transform method