Update calculate.sh