Update calculate.py

Added double elimination