typedmatrix: getters for rows and columns