Create "getJointPosition" method.