Fixed RMSD bug

sqrt(a)+sqrt(b) != sqrt(a+b)