A synthetic computer model for plastic strain localization