Fixed a bug in riccati.py