Fixed simulation of the arm