Zaslat SMS: Polynomial methods in optimal control and filtering