For Loop Over Numpy Array To Tensor Product