function for calculating raw number of origination and extinction events per region per time slice, as well as per lineage rates; potentially still buggy