countRFI_v8.c updated; using an iterative definition of the standard deviation