Added arm functions and tweaked rotation.