Low-rank plus diagonal approximations for Riccati-like matrix differential equations | Synapse