CD matrix now updated, if present, when Map pixel size is changed.
Better pattern for checking for key existence in dictionaries
Merge pull request #1187 from ayshih/resample

CD matrix now updated, if present, when Map pixel size is changed.