Fixed bug causing the tiled kernel to iterate over too few tiled memory blocks.
Implemented kernel utilizing shared memory.