PCA Update Code for EigenFaces OpenCV