Function name: rowTabulate
Description:

Row-wise tabulate of a matrix.

Authors: Manos Papadakis