Bounding box

class bounding box with methods to calculate