The box now supports oriented rectangles. tested. Added test file for box.