Changed initialization of Tensors.