Add bounding box calculation and other function in calculations.py

i check if verices is an np.array