Calculate average transactions per second

I think now it is better because ```txnBySec``` offers more capabilities eg. we can examine the transaction rate over time. Later we will need to add dynamically more actors in a simulation and then i think it will be more useful to have it implemented in this way.