Real-tme Monitoring of Batch Processes Using the Fast k-Nearest Neighbor Rule