AMIGOf PI tuning, rationalized peak detection, finite state machine, expanded range of simulations in example sketch