tfpoint and envelope implementation
Merge pull request #6 from courtf/tfpoint

tfpoint and envelope implementation