Process Term Document Matrix

Process term document matrix.