Computational optimal transport for applications in control and estimation