fix bugs: time=-0.01 and right wrong >0 when restart
added some files
Merge pull request #2 from Awesomez/master

update from master