Added some comments to TTPrimitive.
Added a new unit test.
Merge pull request #1 from hoffart/master

Added some comments to TTPrimitive and a test case