semimatrices