Added the setupTables function to store lookupTables on the GPU