bug fixed in tensor2 copy and assignment constructor