Brownian simulations and unidirectional flux in diffusion.