fix vortex() giving NaN for odd number of cells (Thanks Mathias Helsen).