Implemented solution to discrete algebraic Riccati equation.