Rewrote Tensor functions to more directly manipulate affine data