Zaslat SMS: Vortex dynamics, statistical mechanics, and planetary atmospheres