Numerical solution of viscous flows using integral equation methods