Matrix multiplication with tensors part 1