Corrected rotation of link 6 to line up with global axis