Modified poisson_delay function to generate exponentials instead of integers generated at poisson times