fixed check of cameraMatrix.type() in odometry