Added basic range of motion tracking.