Fix patch extraction and some bugs.

- Improve patch extraction (circle detection is not done yet).
- Fix a bug in BBox constructor.
- Fix a bug in saving patch images in ExFeature.