Added dead-time algo to pygi and updated TickSimulator