rename matprod to matprod_mat_mat to reduce possible name conflicts