fixing #36 indexCopy works for non-contiguous source tensors