Robot control using the feedback-error-learning rule with variable feedback gain