The SMAC method: A numerical technique for calculating incompressible fluid flow