Infinite horizon nonlinear quadratic cost regulator