A leapfrog rotational algorithm using Rodrigues parameterization applied to DEM