attempt to swap image array shape convention to match image dims rather than reverse
update tests for new array shape convention, fix inconsistency in tif dimensions