Expanded docstrings and comments, explaining design differences to MATLAB version.
Expanded docstrings and comments, explaining design differences to MATLAB version.

Minor code cleanup and deduplication.

GeoscienceAustralia/PyRate,GeoscienceAustralia/PyRate