New RMS function, takes only 1 1D array as argument. Use in case difference between two series is precomputed.