Added SDT calc to main.py