more changes to lqr
added jump term support in LQR