Add R matrix getter