Update RotationGen.java