Memory Coalescing

Removed the Shared Memory
Coalesced the global memory (each document is represented by a column of
h_doc, h_iv)