Discontinuous modelling of strain localisation and failure by