Matrix multiplication with tensors part 2