fixed lqr example