Adding step function of a series list.

Again if you are interested I added step function of a series. This is useful to treat metrics as it they were events. By transforming any positive non-zero or null value into 1 then you can count those metrics as events.