- renamed calculate tile rect function to UV since it is calculating UV coords
- added param to flip Y on UV coords if desired