nhpp function

Generate random recurrent episodes under a non homogeneous Poisson process