Drop apply_tm

This seems not to be used, so remove it. If it is considered a work
in progress then it can be recovered in a separate working branch.
Merge pull request #82 from unho/drop-apply-tm

Drop apply_tm