Update tiff_tools.py

updates and addition of right,left zero index functions