Allow dimensions to be specified in different order than in the netCDF file.

Not tested yet!
Add tests for last commit (allowing dimension order to be different than netcdf).

Fixes to pass test. Add new 'transposed_mask' field to test netcdf file.
Update doc string.
Further doc-string updates.
Merge remote-tracking branch 'origin/master'