Better shape handling and remove tifffile.py dependence
Merge pull request #7 from hadim/master

Better shape handling and remove tifffile.py dependence