Weighted two-phase supervised sparse representation based on Gaussian for face recognition