removed MatRI struct