renewal function

Generate random recurrent episodes under a renewal Poisson process