https://5dok.net/document/7q08k4vy-active-control-recursive-squares-parallel-implementation-numerical-stability.html