Improved histogram-based anomaly detector with the extended principal component features