Intermediates grouped by row for matrix b and column for matrix a.