Modeling and simulation of tool induced soil resistance with application to excavator machine