Replace the python vorticity functions with c ones.

Also implement a 4th order vorticity function like the
one used by Walsh.