autorectify_independent: Consistently use numpy.random instead of random

This will allow us to easily override the random seed.
autorectify-independent --randomseed: New parameter for reproducibility of results
tiff2hdf.py: Fix indentation problem