fix bag with matrix multupication in module matrix
fix bag with matrix multupication in module matrix