An improved method for the real time calculation of soil resistance during driving