Add bounding box calculation and other function in calculations.py

Need at least one sentence describing the meaning / purpose of the argument. A reference to the article is not sufficient.