Saymatrix java