Implemented the tpa functions
Merge pull request #6 from altaris-dev/msanders

Implemented the tpa functions