fix progressive typo
Merge pull request #25 from pierreinglebert/fix-progressive-typo

Fix progressive typo
Recalculate residual float value for affine after shrink #26

Switch to static casts for double values

Add unit tests that previously would have failed
add max option