Remove unnecessary extra variables to measure movement heading.