Linear Attention Algorithms: LA, RetNet, Mamba2, and Gated DeltaNet