Added an optional step size argument to interval.