Riccati transformation for gradient optimization techniques.