Update calculate.py

Placed 5 lines of comments at the bottom of the file around the if __name__ == '__main__' section.