matrix_form function

Transform rtable to a list of matrices which can be used for outputting