Fix crop calculation issue
Fix crop calculation issue

Cropping wasn't working right if the right padding was 0. Need to add a
proper test suite for this.

david-hoffman/dphutils,david-hoffman/dphutils,david-hoffman/dphutils