Backpropagation end effector location error through the link equations