fixed TSRIM errors
Merge pull request #85 from r3dunlop/master

fixed TSRIM errors