Text this: Variational and phase response analysis for limit cycles with hard boundaries, with applications to neuromechanical control problems.