Add combined matrix to sage