Added deadtime functions