Merge pull request #1 from xcore/master

merge from xcore master
Avoid step size being set to 0
Merge pull request #16 from xsamc/master

Ramp check - avoid step size being set to 0