Can you explain the mathematical differences between LSTMs, Transformers, and traditional sequence models?