Swapping theta min and max.

Converting latitude to colatitude swaps min and max.
SES3D 4.0 writer: Fixing total station count
Fixing depth units in SES3D 4.0 writer.