An advanced elastic-plastic contact model for the discrete element method