Add bounding box calculation and other function in calculations.py

perhaps other function of this module are private ?