Removed extra lines from calculate.py