Efficient Robust Algorithms for Linear Discriminant Analysis and Sequential Matching Problems