MATLAB implementation of Wong-Reece terramechanics.