A Complete LMI/Riccati Theory from Stochastic Modeling