Update opentiles.py

history issue worked out. rotates well now.