BUG: signal: Use np.linspace instead of np.arange to fix an off-by-one error that could occur in dstep and dimpulse.

...