CHESS: Debugged rotate module