Many fixes for opencv 3.0
More fixes (for opencv <3.0)
fix bug in camera calib

Hopefuly -> Fixes #97