Attacks detection in SCADA systems using an improved non-nested generalized exemplars algorithm