RecurrenceFitness: now takes event the recurrence and event samples as parameters in the `fitness` function.