Added new deductedDot and deductedCosineSimilarity methods on Tensor.

Currently only used by/efficiently implemented for
ArraySpareIndexedTensor for hier coref bag of words scoring.