Time domain PMD simulations in optical fibers and emulators