replace 'delta' with timedelta and memorydelta

Signed-off-by: Peter Chester <peter@tri.be>