Correct test_ttv: sparse tensor should return only nonzero vals
Optimized sptensor creation when result is vector-like