Cuda expand

This series of commits adds CudaTorch.expand and CudaTorch.expandAs. The cuda-to-cuda copy had to be modified to accommodate this.