Templated traarray and added fixtured typed tests.

Templated the traarray.
Redesigned Sum and Set.
Added typed googled tests.