Exception when `step` arguments are invalid.

Closes #56.
Merge branch `invalid` into `master`.