Code cleanup on SwingRatio Study