Improved sculpture rotation code.