Update AdvancedCalculator.rb