optimal control and estimation