Reference implementation of dense tensor class in terms of STL's vector
Fixed issues commented by Miles
Merge pull request #2 from naokin/master

Reference implementation of dense tensor class in terms of STL's vector