Statistics for A programming approach to the numerical analysis of elasto-plastic continua