remove ArrayMatrixFactory