Refactored and reordered the code.
Refactored and reordered the code.

New functions created for transformed gradient operation.
Reordered to put functions at the top.
Added a decorator for making new initial condition choices.
Improved documentation in comments.
Still uses global variables.

jamesp/shallowwater