Simplify General Temporal Memory code
Merge pull request #81 from chetan51/issue-80

Simplify General Temporal Memory code