Text this: Linearization of a Matrix Riccati Equation Associated to an Optimal Control Problem