crost function

Croston's method and variants