fn RMS arr = ( local sumSquared = 0 for i in arr do sumSquared += i^2 return (sqrt (sumSquared/arr.count as float)) )