Added <double> to the Tensor initialization.