Robust Functional Classication for Time Series