do not assume 4 sides to be textured

allows for different geometries to be textured. In my case a sphrere.
Merge pull request #20 from morganrallen/master

do not assume 4 sides to be textured