added spec for issue #2
Added early return for graythresh with stepsize 0.  Fixes #2.