Table, apply and split functionality for Matrix and big.matrix objects
