Aggregate fix with reversed zlimits
Merge pull request #327 from ChrisBeaumont/agg

Aggregate fix with reversed zlimits
Test failure fix
Merge pull request #328 from ChrisBeaumont/testing

Test coverage improvements
Speedups for image contrast scaling