Probabilistic Control and Design of Behavior in Unstable Dynamics