Make computeCameraMatrix faster