A Stochastic Model of Error Generation in Accounting Systems