Add translation tables to cumulative and slide

Added translation tables to the cumulative and sliding window
functions, and set the functions up so that cumulative now works with
slide objects instead of just tables.