Harmonized expand/view/repeatTensor
Merge pull request #68 from nicholas-leonard/expand

Harmonized expand/view/repeatTensor