Matrix ring