Update z-axis rotation only when rotational period is greater than zero.