This is actually MSE (mean square error) and not RMS. RMS is the square root of MSE.