add auto compute steps functions
auto compute steps example
Merge pull request #6 from xnimorz/master

auto steps