Changed the rotation matrix function to give UV count only. Now the
later noise stage is the first time we work with the image itself. This
should make it easier to get the box working.