fix two tensor bugs:
 - singleton outer sparse was not calling makeReadable correctly when being added to ArraySparseIndexed
 - dot products between ArraySparseIndexed were not being computed correctly
Merge pull request #173 from lvilnis/tensor-fixes

fix two tensor bugs: