tool functions

including functions: translate time to distance and smooth
Merge branch 'master' of https://github.com/frankfzw/uWrite
Merge pull request #1 from icedream2/master

aadadas