Revert "fix transposed matrix product bug"

This reverts merge request !1598
4 files changed