That is amazing, Jon. Congratulations on your job! I've been at it for a while as well, but my math won't stand up to yours. I only found a way to get 'ridged' waves following the coast, which can be blended with the normal sinus, but the curling is still done by twist and shear shader, and only possible into one direction, i.e. local.
Perhaps your method can be implemented in the software itself in due time, would be great!