Spectral method solution of the Stokes equations on nonstaggered grids