Providing optional step parameter for time(), sin() and randomWalk() functions

Possible fix for issue #855