Black Box Optimization for Ergodic Systems in Markov Chains | Synapse