Implemented oriented bounding boxes