R implementation of stochastic reserving model proposed by Dave Clark