added rootmeansquare