Fix parameter forwarding in calc_tm.
Merge pull request #1 from glebkuznetsov/master

Fix parameter forwarding in calc_tm.