Extends BoundingRect

Extends the BoundingRect class and also enhances the intersection
calculations.