Merge pull request #6 from hadim/master

Make reshaper more robust and more compact using np.ndindex
Better shape handling and remove tifffile.py dependence