Text this: Generalized Adaptive Diversity Gradient Descent Bit-Flipping with a Finite State Machine