CROSTON function

Croston's method