Fixed probable memory leak of calibration data.
* Replaced all opencv dependencies with opencv2 dependencies.
- Removed all opencv2/core/mat.hpp dependencies.