Reinforcement Learning to Adjust Robot Movements to New Situations