Learning feedforward commands to muscles using time-shifted sensory feedback