A time-domain optical transmission system simulation package accounting for nonlinear and polarization-related effects in fiber