Solve inverse kinematics by linear hopfield network