Matrix multiplication with tensors part 3