Update calculate_outcome.rb