Text this: Numerical method for simulation of quadratic Riccati differential equations