A robust feature extraction algorithm based on class-Modular Image Principal Component Analysis for face verification