RF: estimate scales without sampling. Remove padding parameter. Add documentation to imaffine module.
BF: consider padding at both sides of the histogram when computing the bin size. Accumulate contribution from -2 to 2 inatead of -1 to 2
TEST: deprecate old test cases for imaffine, replace with new
TEST: add test cases for mattes module