Tensor Rank Preserving Discriminant Analysis for Facial Recognition