矩阵连乘，binary