Approximating three-dimensional steady-state potential flow problems using two-dimensional complex polynomials