Nonlinear phase based control to generate and assist oscillatory motion with wearable robotics