get_matrix function

Split up returned list from matrix_via_r()